<?php 
/**
* 
*/
class SystemController extends AuthController
{
	
	public function setConfig(){
		if(IS_POST){
			if(F('set',$_POST,'Data/Config/')){
				$this->success('修改成功','setConfig');
			}else{
				$this->error('修改失败，请检查Data/Config/set.php是否有写入权限');
			}
		}else{
			$this->display();
		}
	}
}
 ?>